package cn.org.rapid_framework.generator.provider.db.table.model;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by jiaoyujia on 2015/1/27.
 */
public class ExtColumnMetaData {
    private List<Column.EnumMetaData> enumMetaDataList = new ArrayList<Column.EnumMetaData>();
    private boolean show = true;
    private boolean editable = true;

    private boolean searchCond = true;
    //{enumData:{0:'男性', 1:'女性'}, validate:{}, show:true, editable:true, searchCond:true}

    public void addEnumMetaData(Column.EnumMetaData enumMetaData) {
        this.enumMetaDataList.add(enumMetaData);
    }

    public boolean isEditable() {
        return editable;
    }

    public void setEditable(boolean editable) {
        this.editable = editable;
    }

    public boolean isShow() {
        return show;
    }

    public void setShow(boolean show) {
        this.show = show;
    }

    public boolean isSearchCond() {
        return searchCond;
    }

    public void setSearchCond(boolean searchCond) {
        this.searchCond = searchCond;
    }


}
